mod video_player_window;

use gtk::{glib, prelude::*};
use video_player_window::VideoPlayerWindow;

fn main() -> glib::ExitCode {
    let application = gtk::Application::builder()
        .application_id("com.github.gtk-rs.examples.video_player")
        .build();

    application.connect_activate(|app| {
        let win = VideoPlayerWindow::new(app);
        win.present();
    });

    application.run()
}
